﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Factory.Migrations
{
    /// <inheritdoc />
    public partial class _000 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropPrimaryKey(
                name: "PK_VendorReturndb",
                table: "VendorReturndb");

            migrationBuilder.RenameTable(
                name: "VendorReturndb",
                newName: "VendorReturns");

            migrationBuilder.AddPrimaryKey(
                name: "PK_VendorReturns",
                table: "VendorReturns",
                column: "Id");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropPrimaryKey(
                name: "PK_VendorReturns",
                table: "VendorReturns");

            migrationBuilder.RenameTable(
                name: "VendorReturns",
                newName: "VendorReturndb");

            migrationBuilder.AddPrimaryKey(
                name: "PK_VendorReturndb",
                table: "VendorReturndb",
                column: "Id");
        }
    }
}
